package jwdt.xadmin.goods.service;

import java.util.List;
import java.util.Map;

import jwdt.common.bean.Tree;
import jwdt.xadmin.goods.bean.TGoodsClass;

import com.ezerg.db.ext.PageUtil;

public interface GoodsClassManageService {

	PageUtil selectGoodsClassList(PageUtil pu,int fid) throws Exception;
	
	List<Map<String,String>> allGoodsClass(int fid)throws Exception;
	
	public List<Map<String,String>> allnoteGoodsClass(int fid)throws Exception;

	TGoodsClass selectOneGoodsClass(int classid) throws Exception;

	String saveGoodsClass(int classid, TGoodsClass obj) throws Exception;

	String delGoodsClass(int classid) throws Exception;

	public List<Tree> typeLeftTree()throws Exception;
	
	public List<Tree> treeList(List<TGoodsClass> types,List<Integer> quanxian)throws Exception;
}